<!--# layout("/common/layout.html",{"jsBase":"/js/admin/seller/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">销售姓名</label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name" value="${seller.name}" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">销售工号</label>
                <div class="layui-input-inline">
                    <input type="text" id="workNumber" name="workNumber" value="${seller.workNumber}"
                           class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">销售部门</label>
                <div class="layui-input-inline">
                    <input type="text" id="partment" name="partment" value="${seller.partment}" class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">createdAt</label>
                <div class="layui-input-inline">
                    <input type="text" id="createdAt" name="createdAt" value="${seller.createdAt," yyyy-MM-dd"}"
                    class="layui-input input-date" >
                </div>
            </div>
        </div>
    </div>
    <!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="delFlag" value=${seller.delFlag}/>
    <input type="hidden" name="id" value=${seller.id}/>
    <layui:submitButtons id="updateButton"/>
</form>
<!--#} -->
<script>
    layui.use(['edit'], function () {
        var sellerEdit = layui.edit
        sellerEdit.init();
    });
</script>
